extern "C" {
#include <libavcodec/avcodec.h>
#include <libavutil/log.h>
#include <libavutil/opt.h>
}
#include "xcamera_record.h"
#include "xviewer.h"
#include <QApplication>
#include <QDir>

int main(int argc, char **argv) {
  const char *save_path = "./video/0/";
  av_log_set_level(AV_LOG_INFO);
  QApplication a(argc, argv);
  XViewer v;
  v.show();
  return a.exec();
}
